<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="delete.*" %>
<%@ page import="java.util.*" %>
<%
	Delete d = (Delete)request.getAttribute("delete");
%>
<% String contextPath = request.getContextPath(); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" href="<%= contextPath %>/css/style.css" type="text/css" />
		<title>ユーザー削除・確認</title>
	</head>
	<body>
		<table border="1">
			<tr>
				<td width="30" align="center">ID</td>
				<td width="80" align="center">name</td>
			</tr>
			<tr>
				<td width="30" align="center"><%= d.getId() %></td>
				<td width="80" align="center"><%= d.getName() %></td>
			</tr>
		</table>
		<br />
		<form action="DeleteServlet">
			<input type="hidden" name="id" value="<%= d.getId() %>" />
			削除しますか？<input type="submit" value="削除" /><br /><br />
			<a href="<%= contextPath %>">トップに戻る</a>
			&nbsp;
			<a href="/Makino/UserList.jsp">一覧に戻る</a>
		</form>
	</body>
</html>